package cn.hk.vaccination.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 儿童接种计划记录
 * </p>
 *
 * @author xu
 * @since 2023-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_chr_inoculation_record")
@ApiModel(value="ChrInoculationRecord对象", description="儿童接种计划记录")
public class ChrInoculationRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一标识")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "儿童接种计划id")
    private Long planChrInoculationId;

    @ApiModelProperty(value = "预约完成状态：0 未预约 1 已预约 2 已完成")
    private Integer state;

    @ApiModelProperty(value = "儿接计划关联表id")
    private Long vPid;


}
